public class demoHerit_2{
  public static void main(String args[]){
      derivedNonGen<String> oa =new derivedNonGen<String> ("Value is: ", 100);
      System.out.print(oa.getOb());
      System.out.println(oa.getNum());
  }
}